package com.dj.mingkong.portal.biz.repository.database.music.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dj.mingkong.common.infrastructure.eo.database.music.MusicianVisitEo;
import com.dj.mingkong.portal.biz.controller.music.vo.request.MusicianVisitUserQueryVo;
import com.dj.mingkong.portal.biz.controller.music.vo.request.MusicianVisitQueryVo;
import com.dj.mingkong.portal.biz.controller.music.vo.response.MusicianVisitUserVo;
import com.dj.mingkong.portal.biz.controller.music.vo.response.MusicianVisitVo;
import org.apache.ibatis.annotations.Param;

/**
 * 音乐人访客mapper
 *
 * @author zenglonghui
 * @date: 2022/8/21 13:43
 */
public interface MusicianVisitMapper extends BaseMapper<MusicianVisitEo> {
    /**
     * 分页查询
     *
     * @param voPage  {}
     * @param queryVo {}
     * @return MusicianVisitVo
     */
    Page<MusicianVisitVo> listPage(Page<MusicianVisitVo> voPage, @Param("queryVo") MusicianVisitQueryVo queryVo);

    /**
     * 分页查询谁看过我的用户数据
     *
     * @param voPage {}
     * @param queryVo {}
     * @return UserVisitVo
     */
    Page<MusicianVisitUserVo> listUserPage(Page<MusicianVisitUserVo> voPage, MusicianVisitUserQueryVo queryVo);
}
